  <?php
  $c =count($navigation);
  $i=1;
  $a=array('home'=>'Home','user_login'=>'Login','about_us'=>'About Us','contact_us'=>'Contact Us','logout'=>'Logout',
           'list_user'=>'List User','add_user'=>'Add User','add_couriers'=>'Add Courier','list_courier'=>'List Courier');
  foreach($navigation as $key=>$val)
    {
        $v= array_search($val,array_flip($a)); 
            
            
        if($i<$c): ?>
            <a href="<?php echo base_url();?>shiporder_main/index/<?php echo $val;?>"><?php echo $v; $i++;?></a>
        <?php else : 
            echo $v; $i++; 
        endif;  
     }   
  ?>  
  